package com.tx.admin.teacher.pojo.po;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.tx.mysql.EntityChangeListener;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 教师统计总览表
 * </p>
 *
 * @author sz
 * @since 2024-02-19
 */
@Data
@Table(value = "character_tag", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "人物标签表")
public class ChararterTag implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description = "id")
    private Long id;

    @Schema(description = "顏色中文")
    private String color;

    @Schema(description = "顏色网页代码")
    private String colorCode;

    @Schema(description = "标签文本")
    private String describe;

    @Schema(description = "备注")
    private String remark;

    //字典XXXX
    @Schema(description = "标签类型")
    private String tagType;

    //----------------通用项--------
    @Schema(description = "生成时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    private Long createId;

    private Long updateId;

}